[MOB-11827] add-new-architecture-support#687
Merged
lposen merged 21 commits intonew-arch/masterfrom Aug 21, 2025
Merged
Conversation
…le from RNIterableAPI.mm
…or new architecture
…7-add-new-architecture-support
…IterableAPI module
…unnecessary logging
…acy architectures
…ft to streamline code
…ew-arch/MOB-11828-add-backwards-compatibility
…7-add-new-architecture-support
…ew-arch/MOB-11828-add-backwards-compatibility
…eAPI in package.json
Base automatically changed from
new-arch/MOB-11833-format-files
to
new-arch/master
August 20, 2025 22:09
…ew-arch/MOB-11828-add-backwards-compatibility
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the iOS codebase to support React Native's new architecture with TurboModules. The implementation introduces a bridge pattern between Objective-C and Swift to maintain compatibility with the new architecture while preserving existing functionality.
- Adds TurboModule support with a new Objective-C wrapper that bridges to the existing Swift implementation
- Updates package.json to include iOS module configuration for new architecture
- Modifies the Swift ReactIterableAPI class to work with a delegate pattern for event emission
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds iOS module configuration mapping for new architecture support |
| ios/RNIterableAPI/ReactIterableAPI.swift | Updates Swift class with delegate pattern and public visibility for TurboModule integration |
| ios/RNIterableAPI/RNIterableAPI.mm | Completely rewritten as Objective-C wrapper implementing TurboModule spec with delegation to Swift |
| ios/RNIterableAPI/RNIterableAPI.h | Updates header to import TurboModule specs and conform to new architecture protocol |
| example/ios/ReactNativeSdkExample.xcodeproj/project.pbxproj | Updates Xcode project references for new CocoaPods configuration |
| example/ios/Podfile | Forces dynamic framework linkage for Swift compatibility |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…ft and iOS SDK dependency
…ew-arch/MOB-11828-add-backwards-compatibility
evantk91
approved these changes
Aug 21, 2025
Contributor
evantk91
left a comment
There was a problem hiding this comment.
Just did a cursory look. The example app is running ok.
…s-compatibility [MOB-11828] add-backwards-compatibility
Added copilot suggestion Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t suggestion Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t suggestion Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔹 JIRA Ticket(s) if any
✏️ Description
Update our codebase to use turbomodules in iOS.
IMPORTANT: This PR is not backwards compatible, and will not build correctly in legacy arch. This will be fixed in a subsequent PR.
Testing
Building the iOS version of this app in NEW arch should work
ENV['RCT_NEW_ARCH_ENABLED'] = '1'is at the top of the file.bundle exec pod deintegraterm -rf ~/Library/Developer/Xcode/DerivedData Pods Podfile.lock build ../Gemfile.lockbundle installbundle exec pod installwatchman watch-del-allyarn start --reset-cacheThe app should build and load correctly